import { renderIcon } from '@/utils/index';
import {
  DashboardOutlined,
  SettingOutlined,
  UserOutlined,
  MenuOutlined,
  BranchesOutlined,
  TrademarkCircleOutlined,
  DesktopOutlined,
  HomeOutlined,
  MessageOutlined,
} from '@vicons/antd';
import { MdGitNetwork, MdContacts, IosJournal, MdTime } from '@vicons/ionicons4';
import { Book } from '@vicons/fa';

//前端路由图标映射表
export const constantRouterIcon = {
  DashboardOutlined: renderIcon(DashboardOutlined),
  SettingOutlined: renderIcon(SettingOutlined),
  UserOutlined: renderIcon(UserOutlined),
  MenuOutlined: renderIcon(MenuOutlined),
  BranchesOutlined: renderIcon(BranchesOutlined),
  TrademarkCircleOutlined: renderIcon(TrademarkCircleOutlined),
  HomeOutlined: renderIcon(HomeOutlined),
  MdGitNetwork: renderIcon(MdGitNetwork),
  MdContacts: renderIcon(MdContacts),
  Book: renderIcon(Book),
  IosJournal: renderIcon(IosJournal),
  DesktopOutlined: renderIcon(DesktopOutlined),
  MdTime: renderIcon(MdTime),
  MessageOutlined: renderIcon(MessageOutlined),
};
